package com.vik.webgallery.persistence;

import java.util.ArrayList;

import com.vik.webgallery.beans.Photo;

public interface PhotoMapper {

		
	public ArrayList<Photo> getPhotosByGalleryId(long galleryId);
	
	public Photo getPhotoById(long photoId);
	
	public int countPhotosWithSameName(Photo p);
	
	public void insert(Photo p);
	
	public void delete(Photo p);
	
	public void update(Photo p);
}
